import Vue from 'vue'
import App from './App'


Vue.config.productionTip = false

// 时间过滤器
Vue.filter('timer',function(value){
  const newDate = new Date(value);
  const year = newDate.getFullYear().toString().padStart(2,0);
  const month = newDate.getMonth().toString().padStart(2,0);
  const day = newDate.getDay().toString().padStart(2,0);
  return `${year}年${month}月${day}日`
})
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
